<template>
  <div>
    <el-tabs type="border-card" style="height: 600px;">
      <el-tab-pane label="实时数据">
        <siteReal :collectPoint="collectPoint"/>
      </el-tab-pane>
      <el-tab-pane label="历史数据">
        <siteHis  :collectPoint="collectPoint"/>
      </el-tab-pane>
      <el-tab-pane label="设备控制">
        <siteControl  :collectPoint="collectPoint"/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  import siteReal from "./siteReal";
  import siteHis from "./siteHis";
  import siteControl from "./siteControl";

export default {
  name:'SiteDetail1',
  components: { siteReal,siteHis,siteControl },
  props: {
    collectPoint: {
      type: Object
    }
  },
  data() {
    return {

    };
  },
  created() {

  },
  methods: {

  }
};
</script>

